package com.hwc.demo.mbs.consts;

import com.hwc.one4all.basebean.IErrorEnum;

public enum ErrorEnum implements IErrorEnum{
	MANAGE_LOGIN_ERR(111, "用户名或密码错误！"),
	MANAGE_UNLOGIN(444, "请先登录！");
	
	private Integer code;
	private String msg;
	private ErrorEnum(Integer code, String msg) {
		this.code = code;
		this.msg = msg;
	}
	
	@Override
	public Integer code() {
		return code;
	}
	@Override
	public String msg() {
		return msg;
	}
	
}
